<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<!-- saved from url=(0022)https://www.myzte.com/ -->
<html lang="zh-CN"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <head>
    <title>中兴手机商城-提供中兴官方正品智能手机(中兴天机7、AXON系列、Blade系列、远航系列)、SPRO2智能投影仪、配件等中兴终端产品</title>
    <meta name="keywords" content="ZTE手机,AXON天机7、远航、A910、中兴手机,中兴手机官方商城,中兴官网,中兴AXON7,星星2号,GrandS天机">
    <meta name="description" content="ZTE中兴手机商城是中兴通讯旗下手机等终端产品的电子商务官方网站，提供中兴官方正品智能手机(中兴天机7、AXON系列、Blade系列、远航系列)、SPRO2智能投影仪、配件等中兴终端产品，官方品质保证！">
    <meta property="qc:admins" content="254072226776512456375">
    <meta property="wb:webmaster" content="e7bfc2e53f06554b">

    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta property="wb:webmaster" content="df14863f24f089b7">
    <script src="/Public/template/js/hm.js"></script><script src="/Public/template/js/hm.js"></script><script src="/Public/template/js/compatible.js"></script>
    <link href="/Public/bootstrap/js/bootstrap.min.css" rel="stylesheet" type="text/css">
    <script src="/Public/template/js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
    <script src="/Public/template/js/jquery.cookie.js" type="text/javascript" charset="utf-8"></script>
    <script src="/Public/template/js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>

    <link rel="stylesheet" href="/Public/template/style/theme.css">
    <link rel="stylesheet" href="/Public/template/style/style.css">
    <link rel="stylesheet" href="/Public/template/style/public.css">
    </head>
<body class="index-body">
<!-- 顶部导航 start -->
<header>
    <div class="containers">
        <nav class="navbar navbar-inverse">
            <ul class="nav navbar-nav left-navbar clearfix">
                <li class=""><a href="https://www.myzte.com/zx-campus.html">中兴校园</a></li>
                <li><a href="https://www.myzte.com/help-11.html">帮助中心</a></li>
                <!-- <li><a href="/">活动列表</a></li> -->
                <li><a class="no-border" href="javascript:;">全年无休热线:400-880-9999</a></li>
            </ul>
            <ul class="nav navbar-nav top-tools navbar-right right-navbar">
                <li class="is-login" id="loginInfo">

                </li>
                <!-- <li class=""><a class="no-border" href="http://old.myzte.com">旧版入口</a></li> -->
            </ul>
        </nav>
    </div>
</header>
<script src="/Public/template/js/public.js"></script>
<!-- 顶部导航 end -->
<?php if($_show_nav==1): ?>

<!-- 头部 start -->
<div class="header w1210 bc mt15">
    <div class="search-block">
        <div class="logo">
            <a href="<?php echo U('Index/index');?>"><img src="/Public/template/images/zx-logo.png" alt=""></a>
        </div>
        <div class="shop-cart">
            <a href="<?php echo U('Cart/lst');?>" class="shopcart-logo" id="cart_list">
                <img src="/Public/template/images/shopcart.png" alt="">&nbsp;&nbsp;&nbsp;购物车
                <span class="shopcart-number cart-count hidden" id="count"></span>
            </a>
            <div class="shopcart-null cart-content"  id="cart_div_list" style="display: none;">
                <div class="remind">
                    购物车中还没有商品,快快选购吧!
                    <img src="/Public/template/images/smile.png" alt="">
                </div>
            </div>

        </div>
        <!-- 搜索 -->
        <div class="search">
            <div class="search-icon">
                <div class="input-block">
                    <form  name="search" method="get" class="fl">
                        <input type="text" id="key" name="key" placeholder="搜索您需要的商品">
                    </form>
                </div>
                <div class="button-block">
                    <button type="button" data-action="/list.html?"
                            onclick="location.href='<?php echo U('Search/key_search', '',FALSE); ?>/key/'+$('#key').val();">
                        <img src="/Public/template/images/Search.png" alt="">
                    </button>
                </div>
            </div>
        </div>
    </div>
    <div class="classify-block">
        <div class="classify">
            <ul class="list-unstyled all-goods-type clearfix">
                <li class="pull-left all-categories">
                    <span class="text-left">全部商品分类</span>
                    <img src="/Public/template/images/fenlei_icon.png" alt="" class="pull-right">
                    <ul class="list-unstyled all-categories-detail" style="display: block;">
                        <?php foreach($catData as $k => $v): ?>
                        <li class="fl-hover">
                            <h4>
                                <a href="<?php echo U('Search/cat_search?cat_id='.$v['id'],'',FALSE)?>"><?php echo $v['cate_name']?></a>
                            </h4>
                            <!-- <ul class="list-unstyled clearfix classify-2">
                                 <li class="pull-left fenlei-list-li">
                                     <a href="https://www.myzte.com/list.html?cat_id=2">其他手机</a>
                                 </li>
                                 <li class="pull-right">
                                     <img src="/Public/template/images/cbl_icon.png" alt="">
                                 </li>
                             </ul>-->
                            <div class="more-goods-block clearfix fl-one">
                                <div class="goods-block">
                                    <ul class="list-unstyled clearfix">
                                        <?php foreach($v['children'] as $k1 => $v1):?>
                                        <li class="pull-left goods-deatil-li">
                                            <div class="goods-image">
                                                <?php echo showImage($v1['sm_logo'])?>
                                            </div>
                                            <div class="goods-name">
                                                <a href="<?php echo U('Search/cat_search?cat_id='.$v1['id'],'',FALSE)?>">
                                                    <span><?php echo ($v1["cate_name"]); ?></span>
                                                </a>
                                            </div>
                                        </li>
                                        <?php foreach($v1['children'] as $k2 => $v2):?>
                                        <a href="<?php echo U('Search/cat_search?cat_id='.$v2['id'],'',FALSE)?>"><?php echo $v2['cate_name']?></a>
                                        <?php endforeach?>
                                        <?php endforeach;?>
                                        <!-- <li class="pull-left goods-deatil-li">
                                             <div class="goods-image">
                                                 <img src="/Public/template/images/9b5232e00240.jpg" alt="其他手机">
                                             </div>
                                             <div class="goods-name">
                                                 <a href="<?php echo U('Search/cat_search?cat_id='.$v['id'],'',FALSE)?>">
                                                     <span>其他手机</span>
                                                 </a>
                                             </div>
                                         </li>-->
                                        <!-- <li class="pull-left goods-deatil-li goods-look-all">
                                             <div class="goods-image">
                                                 <a href="https://www.myzte.com/list.html?cat_id=1">查看更多 <img src="/Public/template/images/look-all.png" alt="其他手机"></a>
                                             </div>
                                         </li>-->
                                    </ul>
                                </div>
                                <!-- <div class="recommend-goods hide">
                                     <div class="recommend-goods-block">
                                         <a href="https://www.myzte.com/">
                                             <img src="/Public/template/images/goods1.png" alt="">
                                         </a>
                                     </div>
                                 </div>-->
                            </div>
                        </li>
                        <?php endforeach;?>
                        <textarea id="first" class="hide">
</textarea>
                        <script>
                            $(function(){
                                /**
                                 * 模板填充工具
                                 */
                                var substitute = function(str, obj) {
                                    return str.replace(/\\?\{([^{}]+)\}/g, function(match, name) {
                                        if (match.charAt(0) == '\\') return match.slice(1);
                                        if(name.match(/\./)){
                                            value = eval('obj.'+name);
                                            return value?value:'';
                                        }
                                        return (obj[name] != undefined) ? obj[name] : '';
                                    });
                                };

                                $('.all-categories-detail .fl-hover').each(function(){
                                    var secondcate_len = $(this).find('.goods-deatil-li').length;
                                    if(secondcate_len>=11){
                                        $(this).find('.goods-deatil-li:nth-child(n+10)').hide();
                                        $(this).find('.goods-look-all').show();
                                    }
                                })
                            })
                        </script>
                    </ul>
                </li>

                <!--左边导航栏结束-->
                <li class="pull-left">
                    <a href="<?php echo U('Index/index');?>">首页</a>
                </li><li class="pull-left create-fl">
                <a href="https://www.myzte.com/v8.html">Blade V8</a>
                <s style="position: absolute;top: -10px;line-height: 1.2;"><img src="/Public/template/images/new.png" alt="new"></s>

            </li>

                <li class="pull-left create-fl">
                    <a href="https://www.myzte.com/6902176008580.html">天机7 MAX</a>
                    <s style="position: absolute;top: -10px;line-height: 1.2;"><img src="/Public/template/images/hot.png" alt="hot"></s>

                </li>

                <li class="pull-left create-fl">
                    <a href="https://www.myzte.com/6902176000645.html">天机7</a>
                    <s style="position: absolute;top: -10px;line-height: 1.2;"><img src="/Public/template/images/hot.png" alt="hot"></s>
                </li>

                <li class="pull-left create-fl"><a href="https://www.myzte.com/6902176003141.html">Blade系列</a>
                    <div class="fenlei-detail-block">
                        <div class="fenlei-detail">
                            <ul class="list-unstyled fenlei-two clearfix">
                                <li class="pull-left">
                                    <a href="https://www.myzte.com/6902176003141.html" target="_blank">
                                        <div class="goods-img" style="border-left: none;">
                                            <img src="/Public/template/images/33a4865f7219.jpg" alt="">
                                        </div>
                                        <div class="goods-data">
                                            <div class="goods-name-block">
                                                <span>Blade A2</span>
                                            </div>
                                            <div class="goods-pri-block">
                                                <span class="new-pri">￥<strong>699.0</strong></span>

                                            </div>
                                        </div>
                                    </a>
                                </li>
                                <li class="pull-left">
                                    <a href="https://www.myzte.com/6902176009532.html" target="_blank">
                                        <div class="goods-img">
                                            <img src="/Public/template/images/243509c98820.jpg" alt="">
                                        </div>
                                        <div class="goods-data">
                                            <div class="goods-name-block">
                                                <span>Blade A2 Plus</span>
                                            </div>
                                            <div class="goods-pri-block">
                                                <span class="new-pri">￥<strong>899.0</strong></span>

                                            </div>
                                        </div>
                                    </a>
                                </li>
                                <li class="pull-left">
                                    <a href="https://www.myzte.com/v8.html" target="_blank">
                                        <div class="goods-img">
                                            <img src="/Public/template/images/7bb917a907a0.jpg" alt="">
                                        </div>
                                        <div class="goods-data">
                                            <div class="goods-name-block">
                                                <span>Blade V8</span>
                                            </div>
                                            <div class="goods-pri-block">
                                                <span class="new-pri">￥<strong>1499.0</strong></span>

                                            </div>
                                        </div>
                                    </a>
                                </li>
                            </ul>
                        </div>
                    </div>

                </li>
                <li class="pull-left create-fl" id="cate-jxpj">
                    <a href="https://www.myzte.com/list.html?cat_id=2">ZTE精品系列</a>


                    <div class="fenlei-detail-block">
                        <div class="fenlei-detail" >
                            <ul class="list-unstyled fenlei-two clearfix">
                                <li class="pull-left">
                                    <a href="https://www.myzte.com/6902176002823.html" target="_blank">
                                        <div class="goods-img" style="border-left: none;">
                                            <img src="/Public/template/images/116bc2b6c266.jpg" alt="">
                                        </div>
                                        <div class="goods-data">
                                            <div class="goods-name-block">
                                                <span>V7 MAX(全网通)</span>
                                            </div>
                                            <div class="goods-pri-block">
                                                <span>￥<strong>1799.0</strong></span>
                                            </div>
                                        </div>
                                    </a>
                                </li>
                                <li class="pull-left">
                                    <a href="https://www.myzte.com/6902176002793.html" target="_blank">
                                        <div class="goods-img">
                                            <img src="/Public/template/images/1fbc59cd878f.jpg" alt="">
                                        </div>
                                        <div class="goods-data">
                                            <div class="goods-name-block">
                                                <span>A910</span>
                                            </div>
                                            <div class="goods-pri-block">
                                                <span>￥<strong>1299.0</strong></span>
                                            </div>
                                        </div>
                                    </a>
                                </li>
                                <li class="pull-left">
                                    <a href="https://www.myzte.com/6902176007774.html" target="_blank">
                                        <div class="goods-img">
                                            <img src="/Public/template/images/1fbc59cd878f.jpg" alt="">
                                        </div>
                                        <div class="goods-data">
                                            <div class="goods-name-block">
                                                <span>小鲜4</span>
                                            </div>
                                            <div class="goods-pri-block">
                                                <span>￥<strong>1090.0</strong></span>
                                            </div>
                                        </div>
                                    </a>
                                </li>
                                <li class="pull-left">
                                    <a href="https://www.myzte.com/item-1848.html" target="_blank">
                                        <div class="goods-img">
                                            <img src="/Public/template/images/1fbc59cd878f.jpg" alt="">
                                        </div>
                                        <div class="goods-data">
                                            <div class="goods-name-block">
                                                <span>AXON天机MAX</span>
                                            </div>
                                            <div class="goods-pri-block">
                                                <span>￥<strong>2799.0</strong></span>
                                            </div>
                                        </div>
                                    </a>
                                </li>
                                <li class="pull-left">
                                    <a href="https://www.myzte.com/item-1896.html" target="_blank">
                                        <div class="goods-img">
                                            <img src="/Public/template/images/1fbc59cd878f.jpg" alt="">
                                        </div>
                                        <div class="goods-data">
                                            <div class="goods-name-block">
                                                <span>远航4</span>
                                            </div>
                                            <div class="goods-pri-block">
                                                <span>￥<strong>799.0</strong></span>
                                            </div>
                                        </div>
                                    </a>
                                </li>
                                <li class="pull-left">
                                    <a href="https://www.myzte.com/6934933090095.html" target="_blank">
                                        <div class="goods-img">
                                            <img src="/Public/template/images/1fbc59cd878f.jpg" alt="">
                                        </div>
                                        <div class="goods-data">
                                            <div class="goods-name-block">
                                                <span>Spro 2 智能微投</span>
                                            </div>
                                            <div class="goods-pri-block">
                                                <span>￥<strong>3699.0</strong></span>
                                            </div>
                                        </div>
                                    </a>
                                </li>
                            </ul>
                        </div>
                    </div>
                </li>

                <li class="pull-left crceate-fl"><a href="http://www.myzte.cn/">中兴社区</a></li>
                <li class="pull-right news-li">
                    <div class="news-block clearfix">
                        <div id="newsBox">
                            <ul><li><a href="https://www.myzte.com/p-97.html">【公告】ZTE中兴 Blade V8预约活动开奖！</a></li><li><a href="https://www.myzte.com/p-96.html">春节期间发货时间调整公告</a></li><li><a href="https://www.myzte.com/p-92.html">关于中兴手机商城12月28日系统升级公告</a></li></ul>

                            <ul><li><a href="https://www.myzte.com/p-97.html">【公告】ZTE中兴 Blade V8预约活动开奖！</a></li><li><a href="https://www.myzte.com/p-96.html">春节期间发货时间调整公告</a></li><li><a href="https://www.myzte.com/p-92.html">关于中兴手机商城12月28日系统升级公告</a></li></ul>
                        </div>
                        <div class="news-name"><img src="/Public/template/images/horn.png" alt=""></div>
                    </div>
                </li>
            </ul>
        </div>
    </div>
<script>
    <?php $ic=C('IMAGE_CONFIG');?>
    var picView ="<?php echo $ic['viewPath']?>";
    $("#cart_list").mouseover(function () {
        $.ajax({
            type:'GET',
            url:"<?php echo U('Cart/ajaxCartList')?>",
            dataType:'json',
            success:function (data) {
                var a = 0;
                html ="<ul class='list-unstyled'>";
                $(data).each(function (k,v) {
                    html +='<li class="clearfix shopcart-goods-li" id="cart" value="'+v.goods_id+ '-'+v.goods_attr_id+'"><div style="float: left;" class="shopcart-goods-image">' +
                            '<img width="50" src="'+picView+v.mid_logo+'" /> ' +
                            '</div>';
                    html +='<div style="float: left;" class="shopcart-goods-name">' +
                            '<p>'+ v.goods_name+'</p>' +
                            '</div>';
                    html +='<div style="float: left;margin-left: 20px;" class="shopcart-goods-price">' +
                            '<div style="float: left";> ￥'+v.price+'</div>' +
                            '<div style="float: left";>' +
                        '<a info-data="' + v.goods_id + '-' + v.goods_attr_id + '" onclick="delCart( this )" href="javascript:void(0); ">删除</a>'+
                            '</div></div></li>';
                    a++

                });
                html +="</ul>";
                if(a>0){
                    $('#cart_div_list').html(html);
                }else{
                    $('#cart_div_list').css('display','block');
                }

            }
        });
    });
    //var count =0;
    $(function () {
         /*count = $('.list-unstyled').children.length;
        if(count > 0){
            $('#count').removeClass('hidden').html(count);
        }*/
        $.ajax({
            type:'GET',
            url:"<?php echo U('Cart/ajaxCartList')?>",
            dataType:'json',
            success:function (data) {
                var i = 0;
                $(data).each(function (k,v) {
                    i++;
                });
                if(i>0){
                    $('#count').removeClass('hidden').html(i);
                }
            }
        });
    });
    function delCart( a ){
        var info = $(a).attr('info-data');
        $.ajax({
            type:'GET',
            url:"<?php echo U('Cart/ajaxDelCart');?>",
            data:"id="+info,
            dataType:'json',
            success:function (data) {
                if(data.code==1){
                    $("li[value='+ info +']").remove();
                }
            }
        });
    }
    //购物车数量加载
    var cart_count=null;
    var cart_count_get=false;
    $.get("<?php echo U('Cart/ajaxDelCart')?>")
        .done(function(re){
            if(re.data&&re.data.count>0){
                $('.cart-count').removeClass('hidden').text(re.data.count);
                cart_count=re.data.count;
                $('.shop-cart').find('.shopcart-null').remove();
            }else{
                $('.shop-cart').find('.shopcart-full').remove();
            }
        })
        .fail(function(){
            $('.shop-cart').find('.shopcart-full').remove();
        })
        .always(function(){
            cart_count_get=true;
        })
    //购物车项
    var cart_load_twice=0;
    $('.shop-cart').on('mouseenter',function(e){
        if(cart_count_get){
            if(cart_count){
                if(cart_load_twice===0){
                    cart_load_twice=1;
                    $.ajax({
                        url:'https://www.myzte.com/index.php/openapi/cart/preview',
                        dataType:'json'
                    })
                        .done(function(re){
                            if(re.data && re.data.length){
                                var item_html ='',item_html_tpl = $('#minicart_item_tpl').html();
                                $.each(re.data,function(idx,item){
                                    item_html+=substitute(item_html_tpl,item);
                                });
                                $('.shopcart-full').show().find('ul').html(item_html);
                                $('.shop-cart').find('.shopcart-logo').addClass('active');
                            }
                        });
                }else{
                    $(this).find('.shopcart-logo').addClass('active');
                    $('.cart-content').show();
                }
            }else{
                $(this).find('.shopcart-logo').addClass('active');
                $('.cart-content').show();
            }
        }
    });
    $('.shop-cart').on('mouseleave',function(){
        $('.cart-content').hide();
        $(this).find('.shopcart-logo').removeClass('active');
    });
</script>
<?php endif;?>
<link rel="stylesheet" href="/Public/Home/style/home.css" type="text/css">
<link rel="stylesheet" href="/Public/Home/style/order.css" type="text/css">
<script type="text/javascript" src="/Public/Home/js/home.js"></script>

<!-- 头部 start -->
<div class="header w1210 bc mt15">
    <div class="search-block">
        <div class="logo">
            <a href="<?php echo U('Index/index');?>"><img src="/Public/template/images/zx-logo.png" alt=""></a>
        </div>
        <div class="shop-cart">
            <a href="<?php echo U('Cart/lst');?>" class="shopcart-logo" id="cart_list">
                <img src="/Public/template/images/shopcart.png" alt="">&nbsp;&nbsp;&nbsp;购物车
                <span class="shopcart-number cart-count hidden" id="count"></span>
            </a>
            <div class="shopcart-null cart-content"  id="cart_div_list" style="display: none;">
                <div class="remind">
                    购物车中还没有商品,快快选购吧!
                    <img src="/Public/template/images/smile.png" alt="">
                </div>
            </div>

        </div>
        <!-- 搜索 -->
        <div class="search">
            <div class="search-icon">
                <div class="input-block">
                    <form  name="search" method="get" class="fl">
                        <input type="text" id="key" name="key" placeholder="搜索您需要的商品">
                    </form>
                </div>
                <div class="button-block">
                    <button type="button" data-action="/list.html?"
                            onclick="location.href='<?php echo U('Search/key_search', '',FALSE); ?>/key/'+$('#key').val();">
                        <img src="/Public/template/images/Search.png" alt="">
                    </button>
                </div>
            </div>
        </div>
    </div>
    <div class="classify-block">
        <div class="classify">
            <ul class="list-unstyled all-goods-type clearfix">
                <li class="pull-left all-categories">
                    <span class="text-left">全部商品分类</span>
                    <img src="/Public/template/images/fenlei_icon.png" alt="" class="pull-right">
                    <ul class="list-unstyled all-categories-detail" style="display: block;">
                        <?php foreach($catData as $k => $v): ?>
                        <li class="fl-hover">
                            <h4>
                                <a href="<?php echo U('Search/cat_search?cat_id='.$v['id'],'',FALSE)?>"><?php echo $v['cate_name']?></a>
                            </h4>
                            <!-- <ul class="list-unstyled clearfix classify-2">
                                 <li class="pull-left fenlei-list-li">
                                     <a href="https://www.myzte.com/list.html?cat_id=2">其他手机</a>
                                 </li>
                                 <li class="pull-right">
                                     <img src="/Public/template/images/cbl_icon.png" alt="">
                                 </li>
                             </ul>-->
                            <div class="more-goods-block clearfix fl-one">
                                <div class="goods-block">
                                    <ul class="list-unstyled clearfix">
                                        <?php foreach($v['children'] as $k1 => $v1):?>
                                        <li class="pull-left goods-deatil-li">
                                            <div class="goods-image">
                                                <?php echo showImage($v1['sm_logo'])?>
                                            </div>
                                            <div class="goods-name">
                                                <a href="<?php echo U('Search/cat_search?cat_id='.$v1['id'],'',FALSE)?>">
                                                    <span><?php echo ($v1["cate_name"]); ?></span>
                                                </a>
                                            </div>
                                        </li>
                                        <?php foreach($v1['children'] as $k2 => $v2):?>
                                        <a href="<?php echo U('Search/cat_search?cat_id='.$v2['id'],'',FALSE)?>"><?php echo $v2['cate_name']?></a>
                                        <?php endforeach?>
                                        <?php endforeach;?>
                                        <!-- <li class="pull-left goods-deatil-li">
                                             <div class="goods-image">
                                                 <img src="/Public/template/images/9b5232e00240.jpg" alt="其他手机">
                                             </div>
                                             <div class="goods-name">
                                                 <a href="<?php echo U('Search/cat_search?cat_id='.$v['id'],'',FALSE)?>">
                                                     <span>其他手机</span>
                                                 </a>
                                             </div>
                                         </li>-->
                                        <!-- <li class="pull-left goods-deatil-li goods-look-all">
                                             <div class="goods-image">
                                                 <a href="https://www.myzte.com/list.html?cat_id=1">查看更多 <img src="/Public/template/images/look-all.png" alt="其他手机"></a>
                                             </div>
                                         </li>-->
                                    </ul>
                                </div>
                                <!-- <div class="recommend-goods hide">
                                     <div class="recommend-goods-block">
                                         <a href="https://www.myzte.com/">
                                             <img src="/Public/template/images/goods1.png" alt="">
                                         </a>
                                     </div>
                                 </div>-->
                            </div>
                        </li>
                        <?php endforeach;?>
                        <textarea id="first" class="hide">
</textarea>
                        <script>
                            $(function(){
                                /**
                                 * 模板填充工具
                                 */
                                var substitute = function(str, obj) {
                                    return str.replace(/\\?\{([^{}]+)\}/g, function(match, name) {
                                        if (match.charAt(0) == '\\') return match.slice(1);
                                        if(name.match(/\./)){
                                            value = eval('obj.'+name);
                                            return value?value:'';
                                        }
                                        return (obj[name] != undefined) ? obj[name] : '';
                                    });
                                };

                                $('.all-categories-detail .fl-hover').each(function(){
                                    var secondcate_len = $(this).find('.goods-deatil-li').length;
                                    if(secondcate_len>=11){
                                        $(this).find('.goods-deatil-li:nth-child(n+10)').hide();
                                        $(this).find('.goods-look-all').show();
                                    }
                                })
                            })
                        </script>
                    </ul>
                </li>

                <!--左边导航栏结束-->
                <li class="pull-left">
                    <a href="<?php echo U('Index/index');?>">首页</a>
                </li><li class="pull-left create-fl">
                <a href="https://www.myzte.com/v8.html">Blade V8</a>
                <s style="position: absolute;top: -10px;line-height: 1.2;"><img src="/Public/template/images/new.png" alt="new"></s>

            </li>

                <li class="pull-left create-fl">
                    <a href="https://www.myzte.com/6902176008580.html">天机7 MAX</a>
                    <s style="position: absolute;top: -10px;line-height: 1.2;"><img src="/Public/template/images/hot.png" alt="hot"></s>

                </li>

                <li class="pull-left create-fl">
                    <a href="https://www.myzte.com/6902176000645.html">天机7</a>
                    <s style="position: absolute;top: -10px;line-height: 1.2;"><img src="/Public/template/images/hot.png" alt="hot"></s>
                </li>

                <li class="pull-left create-fl"><a href="https://www.myzte.com/6902176003141.html">Blade系列</a>
                    <div class="fenlei-detail-block">
                        <div class="fenlei-detail">
                            <ul class="list-unstyled fenlei-two clearfix">
                                <li class="pull-left">
                                    <a href="https://www.myzte.com/6902176003141.html" target="_blank">
                                        <div class="goods-img" style="border-left: none;">
                                            <img src="/Public/template/images/33a4865f7219.jpg" alt="">
                                        </div>
                                        <div class="goods-data">
                                            <div class="goods-name-block">
                                                <span>Blade A2</span>
                                            </div>
                                            <div class="goods-pri-block">
                                                <span class="new-pri">￥<strong>699.0</strong></span>

                                            </div>
                                        </div>
                                    </a>
                                </li>
                                <li class="pull-left">
                                    <a href="https://www.myzte.com/6902176009532.html" target="_blank">
                                        <div class="goods-img">
                                            <img src="/Public/template/images/243509c98820.jpg" alt="">
                                        </div>
                                        <div class="goods-data">
                                            <div class="goods-name-block">
                                                <span>Blade A2 Plus</span>
                                            </div>
                                            <div class="goods-pri-block">
                                                <span class="new-pri">￥<strong>899.0</strong></span>

                                            </div>
                                        </div>
                                    </a>
                                </li>
                                <li class="pull-left">
                                    <a href="https://www.myzte.com/v8.html" target="_blank">
                                        <div class="goods-img">
                                            <img src="/Public/template/images/7bb917a907a0.jpg" alt="">
                                        </div>
                                        <div class="goods-data">
                                            <div class="goods-name-block">
                                                <span>Blade V8</span>
                                            </div>
                                            <div class="goods-pri-block">
                                                <span class="new-pri">￥<strong>1499.0</strong></span>

                                            </div>
                                        </div>
                                    </a>
                                </li>
                            </ul>
                        </div>
                    </div>

                </li>
                <li class="pull-left create-fl" id="cate-jxpj">
                    <a href="https://www.myzte.com/list.html?cat_id=2">ZTE精品系列</a>


                    <div class="fenlei-detail-block">
                        <div class="fenlei-detail" >
                            <ul class="list-unstyled fenlei-two clearfix">
                                <li class="pull-left">
                                    <a href="https://www.myzte.com/6902176002823.html" target="_blank">
                                        <div class="goods-img" style="border-left: none;">
                                            <img src="/Public/template/images/116bc2b6c266.jpg" alt="">
                                        </div>
                                        <div class="goods-data">
                                            <div class="goods-name-block">
                                                <span>V7 MAX(全网通)</span>
                                            </div>
                                            <div class="goods-pri-block">
                                                <span>￥<strong>1799.0</strong></span>
                                            </div>
                                        </div>
                                    </a>
                                </li>
                                <li class="pull-left">
                                    <a href="https://www.myzte.com/6902176002793.html" target="_blank">
                                        <div class="goods-img">
                                            <img src="/Public/template/images/1fbc59cd878f.jpg" alt="">
                                        </div>
                                        <div class="goods-data">
                                            <div class="goods-name-block">
                                                <span>A910</span>
                                            </div>
                                            <div class="goods-pri-block">
                                                <span>￥<strong>1299.0</strong></span>
                                            </div>
                                        </div>
                                    </a>
                                </li>
                                <li class="pull-left">
                                    <a href="https://www.myzte.com/6902176007774.html" target="_blank">
                                        <div class="goods-img">
                                            <img src="/Public/template/images/1fbc59cd878f.jpg" alt="">
                                        </div>
                                        <div class="goods-data">
                                            <div class="goods-name-block">
                                                <span>小鲜4</span>
                                            </div>
                                            <div class="goods-pri-block">
                                                <span>￥<strong>1090.0</strong></span>
                                            </div>
                                        </div>
                                    </a>
                                </li>
                                <li class="pull-left">
                                    <a href="https://www.myzte.com/item-1848.html" target="_blank">
                                        <div class="goods-img">
                                            <img src="/Public/template/images/1fbc59cd878f.jpg" alt="">
                                        </div>
                                        <div class="goods-data">
                                            <div class="goods-name-block">
                                                <span>AXON天机MAX</span>
                                            </div>
                                            <div class="goods-pri-block">
                                                <span>￥<strong>2799.0</strong></span>
                                            </div>
                                        </div>
                                    </a>
                                </li>
                                <li class="pull-left">
                                    <a href="https://www.myzte.com/item-1896.html" target="_blank">
                                        <div class="goods-img">
                                            <img src="/Public/template/images/1fbc59cd878f.jpg" alt="">
                                        </div>
                                        <div class="goods-data">
                                            <div class="goods-name-block">
                                                <span>远航4</span>
                                            </div>
                                            <div class="goods-pri-block">
                                                <span>￥<strong>799.0</strong></span>
                                            </div>
                                        </div>
                                    </a>
                                </li>
                                <li class="pull-left">
                                    <a href="https://www.myzte.com/6934933090095.html" target="_blank">
                                        <div class="goods-img">
                                            <img src="/Public/template/images/1fbc59cd878f.jpg" alt="">
                                        </div>
                                        <div class="goods-data">
                                            <div class="goods-name-block">
                                                <span>Spro 2 智能微投</span>
                                            </div>
                                            <div class="goods-pri-block">
                                                <span>￥<strong>3699.0</strong></span>
                                            </div>
                                        </div>
                                    </a>
                                </li>
                            </ul>
                        </div>
                    </div>
                </li>

                <li class="pull-left crceate-fl"><a href="http://www.myzte.cn/">中兴社区</a></li>
                <li class="pull-right news-li">
                    <div class="news-block clearfix">
                        <div id="newsBox">
                            <ul><li><a href="https://www.myzte.com/p-97.html">【公告】ZTE中兴 Blade V8预约活动开奖！</a></li><li><a href="https://www.myzte.com/p-96.html">春节期间发货时间调整公告</a></li><li><a href="https://www.myzte.com/p-92.html">关于中兴手机商城12月28日系统升级公告</a></li></ul>

                            <ul><li><a href="https://www.myzte.com/p-97.html">【公告】ZTE中兴 Blade V8预约活动开奖！</a></li><li><a href="https://www.myzte.com/p-96.html">春节期间发货时间调整公告</a></li><li><a href="https://www.myzte.com/p-92.html">关于中兴手机商城12月28日系统升级公告</a></li></ul>
                        </div>
                        <div class="news-name"><img src="/Public/template/images/horn.png" alt=""></div>
                    </div>
                </li>
            </ul>
        </div>
    </div>
<script>
    <?php $ic=C('IMAGE_CONFIG');?>
    var picView ="<?php echo $ic['viewPath']?>";
    $("#cart_list").mouseover(function () {
        $.ajax({
            type:'GET',
            url:"<?php echo U('Cart/ajaxCartList')?>",
            dataType:'json',
            success:function (data) {
                var a = 0;
                html ="<ul class='list-unstyled'>";
                $(data).each(function (k,v) {
                    html +='<li class="clearfix shopcart-goods-li" id="cart" value="'+v.goods_id+ '-'+v.goods_attr_id+'"><div style="float: left;" class="shopcart-goods-image">' +
                            '<img width="50" src="'+picView+v.mid_logo+'" /> ' +
                            '</div>';
                    html +='<div style="float: left;" class="shopcart-goods-name">' +
                            '<p>'+ v.goods_name+'</p>' +
                            '</div>';
                    html +='<div style="float: left;margin-left: 20px;" class="shopcart-goods-price">' +
                            '<div style="float: left";> ￥'+v.price+'</div>' +
                            '<div style="float: left";>' +
                        '<a info-data="' + v.goods_id + '-' + v.goods_attr_id + '" onclick="delCart( this )" href="javascript:void(0); ">删除</a>'+
                            '</div></div></li>';
                    a++

                });
                html +="</ul>";
                if(a>0){
                    $('#cart_div_list').html(html);
                }else{
                    $('#cart_div_list').css('display','block');
                }

            }
        });
    });
    //var count =0;
    $(function () {
         /*count = $('.list-unstyled').children.length;
        if(count > 0){
            $('#count').removeClass('hidden').html(count);
        }*/
        $.ajax({
            type:'GET',
            url:"<?php echo U('Cart/ajaxCartList')?>",
            dataType:'json',
            success:function (data) {
                var i = 0;
                $(data).each(function (k,v) {
                    i++;
                });
                if(i>0){
                    $('#count').removeClass('hidden').html(i);
                }
            }
        });
    });
    function delCart( a ){
        var info = $(a).attr('info-data');
        $.ajax({
            type:'GET',
            url:"<?php echo U('Cart/ajaxDelCart');?>",
            data:"id="+info,
            dataType:'json',
            success:function (data) {
                if(data.code==1){
                    $("li[value='+ info +']").remove();
                }
            }
        });
    }
    //购物车数量加载
    var cart_count=null;
    var cart_count_get=false;
    $.get("<?php echo U('Cart/ajaxDelCart')?>")
        .done(function(re){
            if(re.data&&re.data.count>0){
                $('.cart-count').removeClass('hidden').text(re.data.count);
                cart_count=re.data.count;
                $('.shop-cart').find('.shopcart-null').remove();
            }else{
                $('.shop-cart').find('.shopcart-full').remove();
            }
        })
        .fail(function(){
            $('.shop-cart').find('.shopcart-full').remove();
        })
        .always(function(){
            cart_count_get=true;
        })
    //购物车项
    var cart_load_twice=0;
    $('.shop-cart').on('mouseenter',function(e){
        if(cart_count_get){
            if(cart_count){
                if(cart_load_twice===0){
                    cart_load_twice=1;
                    $.ajax({
                        url:'https://www.myzte.com/index.php/openapi/cart/preview',
                        dataType:'json'
                    })
                        .done(function(re){
                            if(re.data && re.data.length){
                                var item_html ='',item_html_tpl = $('#minicart_item_tpl').html();
                                $.each(re.data,function(idx,item){
                                    item_html+=substitute(item_html_tpl,item);
                                });
                                $('.shopcart-full').show().find('ul').html(item_html);
                                $('.shop-cart').find('.shopcart-logo').addClass('active');
                            }
                        });
                }else{
                    $(this).find('.shopcart-logo').addClass('active');
                    $('.cart-content').show();
                }
            }else{
                $(this).find('.shopcart-logo').addClass('active');
                $('.cart-content').show();
            }
        }
    });
    $('.shop-cart').on('mouseleave',function(){
        $('.cart-content').hide();
        $(this).find('.shopcart-logo').removeClass('active');
    });
</script>
<!-- 页面主体 start -->
<div class="main w1210 bc mt10">
<div class="crumb w1210">
    <h2><strong>我的XX </strong><span>> 我的订单</span></h2>
</div>
<!-- 左侧导航菜单 start -->
<div class="menu fl">
    <h3>我的XX</h3>
    <div class="menu_wrap">
        <dl>
            <dt>订单中心 <b></b></dt>
            <dd class="cur"><b>.</b><a href="<?php echo U('order');?>">我的订单</a></dd>
            <dd><b>.</b><a href="">我的关注</a></dd>
            <dd><b>.</b><a href="">浏览历史</a></dd>
            <dd><b>.</b><a href="">我的团购</a></dd>
        </dl>

        <dl>
            <dt>账户中心 <b></b></dt>
            <dd><b>.</b><a href="">账户信息</a></dd>
            <dd><b>.</b><a href="">账户余额</a></dd>
            <dd><b>.</b><a href="">消费记录</a></dd>
            <dd><b>.</b><a href="">我的积分</a></dd>
            <dd><b>.</b><a href="<?php echo U('UserAddress/lst');?>">收货地址</a></dd>
        </dl>

        <dl>
            <dt>订单中心 <b></b></dt>
            <dd><b>.</b><a href="">返修/退换货</a></dd>
            <dd><b>.</b><a href="">取消订单记录</a></dd>
            <dd><b>.</b><a href="">我的投诉</a></dd>
        </dl>
    </div>
</div>
<!-- 左侧导航菜单 end -->
<!-- 右侧内容区域 start -->
<div class="content fl ml10">
    <div class="order_hd">
        <h3>我的订单</h3>
        <dl>
            <dt>便利提醒：</dt>
            <dd>待付款（<?php echo ($data["noPayCount"]); ?>）</dd>
        </dl>

        <dl>
            <dt>特色服务：</dt>
            <dd><a href="">我的预约</a></dd>
            <dd><a href="">夺宝箱</a></dd>
        </dl>
    </div>

    <div class="order_bd mt10">
        <table class="orders">
            <thead>
            <tr>
                <th width="10%">订单号</th>
                <th width="20%">订单商品</th>
                <th width="10%">收货人</th>
                <th width="20%">订单金额</th>
                <th width="20%">下单时间</th>
                <th width="10%">订单状态</th>
                <th width="10%">操作</th>
            </tr>
            </thead>
            <tbody>
            <?php foreach($data['data'] as $k=>$v):?>
            <tr>
                <td><?php echo ($v["id"]); ?></td>
                <td><a href=""><?php $_arr =explode(',',$v['logo']);foreach($_arr as $k1=>$v1) echo showImage($v1);?></a></td>
                <td><?php echo ($v["shr_name"]); ?></td>
                <td>￥<?php echo ($v["total_price"]); ?></td>
                <td><?php echo date('Y-m-d H:i:s',$v['addtime']); ?></td>
                <td>
                    <?php if($v['pay_status']=='是'):?>
                    已支付
                    <?php else:?>
                    <?php echo makeAlipayBtn($v['id']);?>
                    <?php endif?>
                </td>
                <td><a href="">查看</a> | <a href="">删除</a></td>
            </tr>
            <?php endforeach;?>
            </tbody>
        </table>
    </div>
</div>
<!-- 右侧内容区域 end -->
</div>
<!-- 页面主体 end-->
<div class="footer">
    <div class="footer-inner">
        <div class="footer-top">
            <ul class="list-unstyled clearfix">
                <li class="pull-left">
                    <img src="/Public/template/images/7.png" alt="">
                    <span>7天退货保障</span>
                </li>
                <li class="pull-left">
                    <img src="/Public/template/images/30.png" alt="">
                    <span>15天换货承诺</span>
                </li>
                <li class="pull-left">
                    <img src="/Public/template/images/mian.png" alt="">
                    <span>150元起全场免运费</span>
                </li>
                <li class="pull-left">
                    <img src="/Public/template/images/position.png" alt="">
                    <span>全国售后服务点</span>
                </li>
            </ul>
        </div>
        <div class="footer-center">
            <div class="footer-plus">
                <div class="help-center">
                    <ul class="list-unstyled clearfix"><li class="help-title"><a href="javascript:;">关注我们</a></li><li class="help-list"><ul><li><a href="https://www.myzte.com/help-14.html">中兴社区</a></li><li><a href="https://www.myzte.com/help-13.html">官方微信</a></li><li><a href="https://www.myzte.com/help-12.html">新浪微博</a></li></ul></li></ul>
                    <ul class="list-unstyled clearfix"><li class="help-title"><a href="javascript:;">帮助中心</a></li><li class="help-list"><ul><li><a href="https://www.myzte.com/help-11.html">支付方式</a></li><li><a href="https://www.myzte.com/help-10.html">购物指南</a></li><li><a href="https://www.myzte.com/help-9.html">配送指南</a></li></ul></li></ul>
                    <ul class="list-unstyled clearfix"><li class="help-title"><a href="javascript:;">售后服务</a></li><li class="help-list"><ul><li><a href="https://www.myzte.com/help-8.html">退换货流程</a></li><li><a href="https://www.myzte.com/help-7.html">售后网点</a></li><li><a href="https://www.myzte.com/help-6.html">退换货政策</a></li><li><a href="https://www.myzte.com/help-5.html">保修政策</a></li></ul></li></ul>
                    <ul class="list-unstyled clearfix"><li class="help-title"><a href="javascript:;">关于商城</a></li><li class="help-list"><ul><li><a href="https://www.myzte.com/help-4.html">联系我们</a></li><li><a href="https://www.myzte.com/help-3.html">商城简介</a></li><li><a href="https://www.myzte.com/help-2.html">礼品团购</a></li></ul></li></ul>
                </div>
                <div class="call-block">
                    <div class="tell">
                        <div class="tell-number">400-880-9999</div>
                        <div class="explain">周一到周日 8:30 - 20:30 (全年无休)</div>
                    </div>
                    <div class="kefu">
                        <img src="/Public/template/images/kefu.png" alt="">
                        <a href="http://v1.live800.com/live800/chatClient/chatbox.jsp?companyID=437521&amp;configID=41175&amp;jid=9108176411" target="_Blank">在线客服</a>

                    </div>
                </div>
            </div>
        </div>
        <div class="footer-bottom">
            <center>
            <ul class="list-unstyled clearfix">
                <li><a href="http://www.myzte.cn/" target="_blank">中兴社区</a></li>
                <li><a href="http://www.zte.com.cn/" target="_blank">中兴通讯</a></li>
                <li><a href="http://apps.ztems.com/" target="_blank">汇天地</a></li>
                <li><a href="http://cloud.ztedevices.com/zcloud/index.html" target="_blank">中兴云服务</a></li>
                <li><a href="http://www.ztedevice.com.cn/" target="_blank">中兴手机</a></li>
            </ul>
            </center>
            <div class="copy-right" style="text-align: center;">
                <a href="https://www.myzte.com/help-20.html" target="_blank">服务协议</a> | ©2014 - 2017 深圳市中兴智谷科技有限公司版权所有，并保留所有权利
            </div>
            <div class="copy-right" style="text-align: center;">
                增值电信业务经营许可证：粤B2-20160352 | ICP备案证书号 : <a href="http://www.miitbeian.gov.cn/" target="_blank">粤ICP备16018970号 </a>
            </div>
        </div>
    </div>
</div>
</body></html>

<div class="footer">
    <div class="footer-inner">
        <div class="footer-top">
            <ul class="list-unstyled clearfix">
                <li class="pull-left">
                    <img src="/Public/template/images/7.png" alt="">
                    <span>7天退货保障</span>
                </li>
                <li class="pull-left">
                    <img src="/Public/template/images/30.png" alt="">
                    <span>15天换货承诺</span>
                </li>
                <li class="pull-left">
                    <img src="/Public/template/images/mian.png" alt="">
                    <span>150元起全场免运费</span>
                </li>
                <li class="pull-left">
                    <img src="/Public/template/images/position.png" alt="">
                    <span>全国售后服务点</span>
                </li>
            </ul>
        </div>
        <div class="footer-center">
            <div class="footer-plus">
                <div class="help-center">
                    <ul class="list-unstyled clearfix"><li class="help-title"><a href="javascript:;">关注我们</a></li><li class="help-list"><ul><li><a href="https://www.myzte.com/help-14.html">中兴社区</a></li><li><a href="https://www.myzte.com/help-13.html">官方微信</a></li><li><a href="https://www.myzte.com/help-12.html">新浪微博</a></li></ul></li></ul>
                    <ul class="list-unstyled clearfix"><li class="help-title"><a href="javascript:;">帮助中心</a></li><li class="help-list"><ul><li><a href="https://www.myzte.com/help-11.html">支付方式</a></li><li><a href="https://www.myzte.com/help-10.html">购物指南</a></li><li><a href="https://www.myzte.com/help-9.html">配送指南</a></li></ul></li></ul>
                    <ul class="list-unstyled clearfix"><li class="help-title"><a href="javascript:;">售后服务</a></li><li class="help-list"><ul><li><a href="https://www.myzte.com/help-8.html">退换货流程</a></li><li><a href="https://www.myzte.com/help-7.html">售后网点</a></li><li><a href="https://www.myzte.com/help-6.html">退换货政策</a></li><li><a href="https://www.myzte.com/help-5.html">保修政策</a></li></ul></li></ul>
                    <ul class="list-unstyled clearfix"><li class="help-title"><a href="javascript:;">关于商城</a></li><li class="help-list"><ul><li><a href="https://www.myzte.com/help-4.html">联系我们</a></li><li><a href="https://www.myzte.com/help-3.html">商城简介</a></li><li><a href="https://www.myzte.com/help-2.html">礼品团购</a></li></ul></li></ul>
                </div>
                <div class="call-block">
                    <div class="tell">
                        <div class="tell-number">400-880-9999</div>
                        <div class="explain">周一到周日 8:30 - 20:30 (全年无休)</div>
                    </div>
                    <div class="kefu">
                        <img src="/Public/template/images/kefu.png" alt="">
                        <a href="http://v1.live800.com/live800/chatClient/chatbox.jsp?companyID=437521&amp;configID=41175&amp;jid=9108176411" target="_Blank">在线客服</a>

                    </div>
                </div>
            </div>
        </div>
        <div class="footer-bottom">
            <center>
            <ul class="list-unstyled clearfix">
                <li><a href="http://www.myzte.cn/" target="_blank">中兴社区</a></li>
                <li><a href="http://www.zte.com.cn/" target="_blank">中兴通讯</a></li>
                <li><a href="http://apps.ztems.com/" target="_blank">汇天地</a></li>
                <li><a href="http://cloud.ztedevices.com/zcloud/index.html" target="_blank">中兴云服务</a></li>
                <li><a href="http://www.ztedevice.com.cn/" target="_blank">中兴手机</a></li>
            </ul>
            </center>
            <div class="copy-right" style="text-align: center;">
                <a href="https://www.myzte.com/help-20.html" target="_blank">服务协议</a> | ©2014 - 2017 深圳市中兴智谷科技有限公司版权所有，并保留所有权利
            </div>
            <div class="copy-right" style="text-align: center;">
                增值电信业务经营许可证：粤B2-20160352 | ICP备案证书号 : <a href="http://www.miitbeian.gov.cn/" target="_blank">粤ICP备16018970号 </a>
            </div>
        </div>
    </div>
</div>
</body></html>
<script>
    $.ajax({
        type:'GET',
        url: "<?php echo U('Member/ajaxChkLogin');?>",
        dataType:'json',
        success:function (data) {
            if(data.login ==1){
                var li ='欢迎您,'+ data.username + '<a href="<?php echo U('Member/logout');?>">退出</a>';
                    li += '<li class=""><a href="<?php echo U('My/order');?>">我的订单</a></li>';
                $('#loginInfo').html(li);
            }else{
                var li ='您好,欢迎来到中兴!<a href="<?php echo U('Member/login');?>">登录</a> <a href="<?php echo U('Member/regist') ?>">免费注册</a>';
                    li += '<li class=""><a href="<?php echo U('My/order');?>">我的订单</a></li>';
                $('#loginInfo').html(li);
            }
        }
    })
</script>